package com.maegul.web.pages.base;

import org.apache.wicket.model.IModel;

import com.maegul.web.components.MediaItemList;


public class BaseListPage extends BasePage {

	private static final long serialVersionUID = 1L;

	protected BaseListPage(IModel<String> tabHeader, IModel<String> header, String listType) {
		super(tabHeader, header);
		// TODO add(new PhotoPanel("photo_panel"));
		 add(new MediaItemList("list", getItemsByType(listType), 5));
	}

}
